const siderbar = {

    template:'<el-menu  background-color="#545c64"\n' +
        '                     text-color="#fff"\n' +
        '                     active-text-color="#ffd04b">' +
        ' <el-sub-menu v-for="menu in menus" >\n' +
        '                    <template #title>\n' +
        '                       {{menu.title}}\n' +
        '                    </template>\n' +
        '                    <el-menu-item v-for="item in menu.items">\n' +
        '                        {{item.title}}\n' +
        '                    </el-menu-item>\n' +
        '                </el-sub-menu>' +
        '</el-menu>',
     props:['menus']

}

export  default  siderbar;